<?php
header("content-type:text/html;charset=utf8");//网页编码
//接收前端数据
$username=$_GET["username"];
$password=$_GET["password"];
//后端验证
if($username==="123"&&$password==="123"){
    echo "登录成功";
}else{
    echo "登录失败";
}
?>